package com.dongdongqiang.daogenerator.pojo;

import java.util.Date;
import java.util.List;

/**
 * 表
 * Created by zzb on 17-3-19.
 */
public class TableMeta {
    private Class beanClass;
    private String tableName;
    private String beanName;
    private TableColumn primaryKeyColumn;
    private List<TableColumn> tableColumns;

    public Class getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(Class beanClass) {
        this.beanClass = beanClass;
    }

    public TableColumn getPrimaryKeyColumn() {
        return primaryKeyColumn;
    }

    public void setPrimaryKeyColumn(TableColumn primaryKeyColumn) {
        this.primaryKeyColumn = primaryKeyColumn;
    }

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public List<TableColumn> getTableColumns() {
        return tableColumns;
    }


    public void setTableColumns(List<TableColumn> tableColumns) {
        this.tableColumns = tableColumns;
    }

    @Override
    public String toString() {
        return "TableMeta{" +
                "beanClass=" + beanClass +
                ", tableName='" + tableName + '\'' +
                ", beanName='" + beanName + '\'' +
                ", primaryKeyColumn=" + primaryKeyColumn +
                ", tableColumns=" + tableColumns +
                '}';
    }
}
